package com.woniuxy.countclient.client;


import com.woniuxy.core.model.Result;
import com.woniuxy.countclient.client.dto.VenueListOrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient("order-server")
public interface OrderFeignClient {

    @GetMapping("/order/orderInfo/findByVenueId.venue")
    public Result<List<VenueListOrderDto>> findByVenueId(@RequestParam("venueId") Integer venueId);
}
